package com.example.proxydemo.pay;

import java.math.BigDecimal;

public class ZeroRateH5PayProxy implements H5Pay {

    private H5Pay pay;

    public ZeroRateH5PayProxy(H5Pay pay) {
        this.pay = pay;
    }


    @Override
    public void h5Pay(BigDecimal money) {
        System.out.println("本次支付零费率！！！");
        pay.h5Pay(money);
    }

    @Override
    public void refund(BigDecimal money) {

    }
}
